import 'dart:ui';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';

class YBToast {

 static showToastInfo(String info){
    Fluttertoast.showToast(
      msg: info,
      textColor: YBColor.white,
      toastLength: Toast.LENGTH_LONG,
      backgroundColor:Color.fromRGBO(00, 00, 00, 0.8),
      timeInSecForIosWeb: 2,
      gravity: ToastGravity.CENTER,
    );
  }
}